Versions:

  • 5.7.0
  • 5.6.0
  • 5.3.0
  • 5.2.0

jwtd by webcodr is a command-line tool that decodes and pretty-prints JSON Web Tokens. It handles both JWT and JSON Web Encryption (JWE) tokens and shows their content as formatted JSON with syntax highlighting, which makes header and payload easy to read in the terminal. Beyond plain decoding, the tool can verify JWS signatures and decrypt JWEs when a key is supplied. The key is passed either with the --key flag or through the JWTD_KEY environment variable. The program belongs to the category of developer tools and security-related command-line utilities. JSON Web Tokens are widely used for authentication and authorisation in web applications and APIs, and developers regularly need to look inside a token to check its claims, its expiry time or the algorithm used. Typical use cases are debugging a login flow, inspecting a token returned by an identity provider, confirming that a signature is valid for a given key, and examining encrypted tokens during the development of an API. Decoding locally avoids pasting tokens into online decoders. The current version is 5.7.0, and several versions are available in the catalog.

Tags: